extends ../layout

block content
    .container
        .row
            form.form-horizontal(method="post",action="/admin/movie/new")
                .form-group
                    input(type="hidden",name="movie[_id]",value="#{movie._id}")
                    label.col-sm-2.control-label(for="inputTitle") 电影名字
                    .col-sm-10
                        input#inputTitle.form-control(type="text",name="movie[title]",value="#{movie.title}")
                .form-group
                    label.col-sm-2.control-label(for="inputDoctor") 电影导演
                    .col-sm-10
                        input#inputDoctor.form-control(type="text",name="movie[doctor]",value="#{movie.doctor}")
                .form-group
                    label.col-sm-2.control-label(for="inputCountry") 电影国家
                    .col-sm-10
                        input#inputCountry.form-control(type="text",name="movie[country]",value="#{movie.title}")
                .form-group
                    label.col-sm-2.control-label(for="inputLanguage") 电影语种
                    .col-sm-10
                        input#inputLanguage.form-control(type="text",name="movie[language]",value="#{movie.language}")
                .form-group
                    label.col-sm-2.control-label(for="inputPoster") 海报地址
                    .col-sm-10
                        input#inputPoster.form-control(type="text",name="movie[poster]",value="#{movie.poster}")
                .form-group
                    label.col-sm-2.control-label(for="inputFlash") flash地址
                    .col-sm-10
                        input#inputFlash.form-control(type="text",name="movie[flash]",value="#{movie.flash}")
                .form-group
                    .col-sm-offset-2.col-sm-10
                     button.btn.btn-default(type="submit") 录入
